<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/29
 * Time: 11:36
 */

//print_r($_POST);
$arr=$_REQUEST;
//print_r($arr);

echo '<br />';
echo '完整地址:'.$arr['REQUEST_URI'];
echo '<br />';
echo'用户IP:'.$arr['SERVER_ADDR'];
echo '<br />';
echo'请求方法:'.$arr['REQUEST_METHOD'];
echo '<br />';
echo'URL参数:'.$arr['DOCUMENT_URI'];